<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:8080/" />
<title>2. create new system and project</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">2. create new system and project</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/devdocs/logout</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=username</td>
	<td>person1</td>
</tr>
<tr>
	<td>type</td>
	<td>id=password</td>
	<td>person1</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Systems</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=New System</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=name</td>
	<td>System3</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=create</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.property-value</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>System3</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=System List</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Projects</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=New Project</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=name</td>
	<td>Project for System 3</td>
</tr>
<tr>
	<td>click</td>
	<td>id=startDate</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=1</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=endDate</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=1</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=status</td>
	<td>label=Active ITPAC Project</td>
</tr>
<tr>
	<td>type</td>
	<td>id=estimatedHours</td>
	<td>100</td>
</tr>
<tr>
	<td>type</td>
	<td>id=description</td>
	<td>This is a test project for System3</td>
</tr>
<tr>
	<td>select</td>
	<td>id=projectType</td>
	<td>label=ProjectType</td>
</tr>
<tr>
	<td>type</td>
	<td>id=costCentre</td>
	<td>CC123456</td>
</tr>
<tr>
	<td>type</td>
	<td>id=estimatedPercentComplete</td>
	<td>0</td>
</tr>
<tr>
	<td>click</td>
	<td>id=flagBillable</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>id=persons</td>
	<td>label=person1</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=create</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Project for System 3</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>01/07/2012</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>01/07/2012</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Active ITPAC Project</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>100</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>ProjectType</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>CC123456</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>person1</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>System1</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
